package com.project.springboot.hashset;

import java.math.BigDecimal;

/**
 * description: 书籍
 * @author 朱正磊
 * @date 2024-04-12 13:39:02
 */
public class Book3 {

    private String name;

    private String author;

    private Integer pageNum;

    private BigDecimal price;

    public Book3() {

    }

    public Book3(String name, String author, Integer pageNum, BigDecimal price) {
        this.name = name;
        this.author = author;
        this.pageNum = pageNum;
        this.price = price;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

}
